//
//  HKPFLCell.m
//  Hxcsfw
//
//  Created by 企友软mac on 2018/6/19.
//  Copyright © 2018年 企友软mac. All rights reserved.
//

#import "HKPFLCell.h"

@implementation HKPFLCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)btnClick:(UIButton *)sender {
    if (sender.tag == 0) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"tech";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"kp";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"azsz";
        [WShareUtil sharedData].AnswerSortNavTitle = @"安装设置";
    }else if (sender.tag == 1) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"tech";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"kp";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"dlxd";
        [WShareUtil sharedData].AnswerSortNavTitle = @"登录向导";
    }else if (sender.tag == 2) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"tech";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"kp";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"kjfp";
        [WShareUtil sharedData].AnswerSortNavTitle = @"开具发票";
    }else if (sender.tag == 3) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"tech";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"kp";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"fphc";
        [WShareUtil sharedData].AnswerSortNavTitle = @"发票红冲";
    }else if (sender.tag == 4) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"tech";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"kp";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"csqk";
        [WShareUtil sharedData].AnswerSortNavTitle = @"抄税清卡";
    }else if (sender.tag == 5) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"tech";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"kp";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"hzmx";
        [WShareUtil sharedData].AnswerSortNavTitle = @"汇总明细打印";
    }else if (sender.tag == 6) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"tech";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"kp";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"skkpqt";
        [WShareUtil sharedData].AnswerSortNavTitle = @"其他";
    }
    [[NSNotificationCenter defaultCenter] postNotificationName:@"HWenBaNotification" object:nil];
}

@end
